package com.sims.dao;

import java.util.List;

import com.sims.bean.Material;

public interface IMaterialDAO {

	public abstract void save(Material transientInstance);

	public abstract void delete(Material persistentInstance);

	public abstract Material findById(java.lang.Integer id);

	public abstract List findByExample(Material instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByAuthor(Object author);

	public abstract List findByCid(Object cid);

	public abstract List findByScope(Object scope);

	public abstract List findByAuthorId(Object authorId);

	public abstract List findByAuthorIdentity(Object authorIdentity);
	
	public abstract List findByTime(Object stime);

	public abstract List findAll();

	public abstract Material merge(Material detachedInstance);

	public abstract void attachDirty(Material instance);

	public abstract void attachClean(Material instance);

}